//
//package com.rt.schedulebase.service.impl;
//import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
//import com.baomidou.mybatisplus.core.conditions.Wrapper;
//import java.util.Collection;
//import java.util.Map;
//import java.util.HashMap;
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import java.util.List;
//import com.rt.schedulebase.dto.ExamApplyOrganDto;
//import java.io.Serializable;
//import org.springframework.stereotype.Service;
//import com.rt.schedulebase.service.IExamApplyOrganService;
//import com.rt.schedulebase.entity.ExamApplyOrgan;
//import com.rt.schedulebase.mapper.ExamApplyOrganMapper;
//import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
//@Service
//public class ExamApplyOrganServiceImpl extends ServiceImpl<ExamApplyOrganMapper, ExamApplyOrgan> implements IExamApplyOrganService
//{
//@Override
//    public boolean insertSelective(final ExamApplyOrgan examApplyOrgan) {
//        return this.retBool(Integer.valueOf(((ExamApplyOrganMapper)this.baseMapper).insert(examApplyOrgan)));
//    }
//
//@Override
//    public boolean deleteByPrimaryKey(final String key) {
//        return this.retBool(Integer.valueOf(((ExamApplyOrganMapper)this.baseMapper).deleteById((Serializable)key)));
//    }
//
//@Override
//    public boolean updateByPrimaryKeySelective(final ExamApplyOrgan examApplyOrgan) {
//        return this.retBool(Integer.valueOf(((ExamApplyOrganMapper)this.baseMapper).updateById(examApplyOrgan)));
//    }
//
//@Override
//    public ExamApplyOrgan selectByPrimaryKey(final String key) {
//        return (ExamApplyOrgan)((ExamApplyOrganMapper)this.baseMapper).selectById((Serializable)key);
//    }
//
//@Override
//    public List<ExamApplyOrgan> getList(final ExamApplyOrganDto dto) {
//        final QueryWrapper<ExamApplyOrgan> qw = (QueryWrapper<ExamApplyOrgan>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        map.put("APPLY_NO", dto.getApplyNo());
//        map.put("ITEM_NO", dto.getItemNo());
//        qw.allEq((Map)map, false);
//        if (dto.getApplyNoList() != null && !dto.getApplyNoList().isEmpty()) {
//            qw.in("APPLY_NO", (Collection)dto.getApplyNoList());
//        }
//        final List<ExamApplyOrgan> list = (List<ExamApplyOrgan>)((ExamApplyOrganMapper)this.baseMapper).selectList((Wrapper)qw);
//        return list;
//    }
//
//@Override
//    public List<ExamApplyOrgan> getListAll() {
//        return (List<ExamApplyOrgan>)((ExamApplyOrganMapper)this.baseMapper).selectList((Wrapper)null);
//    }
//
//@Override
//    public boolean delete(final ExamApplyOrgan examApplyOrgan) {
//        final UpdateWrapper<ExamApplyOrgan> uw = (UpdateWrapper<ExamApplyOrgan>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamApplyOrganMapper)this.baseMapper).delete((Wrapper)uw)));
//    }
//
//@Override
//    public boolean update(final ExamApplyOrgan examApplyOrgan) {
//        final UpdateWrapper<ExamApplyOrgan> uw = (UpdateWrapper<ExamApplyOrgan>)new UpdateWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        uw.allEq((Map)map, false);
//        return this.retBool(Integer.valueOf(((ExamApplyOrganMapper)this.baseMapper).update(examApplyOrgan, (Wrapper)uw)));
//    }
//
//@Override
//    public ExamApplyOrgan getInfo(final ExamApplyOrganDto dto) {
//        final QueryWrapper<ExamApplyOrgan> qw = (QueryWrapper<ExamApplyOrgan>)new QueryWrapper();
//        final Map<String, Object> map = new HashMap<String, Object>();
//        qw.allEq((Map)map, false);
//        return (ExamApplyOrgan)((ExamApplyOrganMapper)this.baseMapper).selectOne((Wrapper)qw);
//    }
//}
